package com.totoro.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.totoro.dao.AcceptableMajorDao;
import com.totoro.dao.BaseHibernateDao;
import com.totoro.domain.AcceptableMajor;
/**
 * 
 * @author xiang fusheng
 *
 */

/*
 *  限选专业service
 */
@Transactional
@Service
public class AcceptableMajorService extends BaseService<AcceptableMajor, Integer>{
	
	private AcceptableMajorDao acceptableMajorDao;

	@Autowired
	@Override
	public void setBaseDao(BaseHibernateDao<AcceptableMajor, Integer> acceptableMajorDao) {
		// TODO Auto-generated method stub
		this.baseDao = acceptableMajorDao;
		this.acceptableMajorDao = (AcceptableMajorDao) acceptableMajorDao;
	}

	

}
